package com.tlgen.orm.service.impl;

import com.tlgen.orm.model.BaseEntity;

/**
 * 实体操作的默认实现
 */
public class DefaultEntityImpl<T extends BaseEntity<?>> implements EntityImpl<T> {

    @Override
    public void beforeSave(T entity) {

    }

    @Override
    public void beforeUpdate(T entity) {

    }

    @Override
    public void afterSave(T entity) {

    }

    @Override
    public void afterUpdate(T entity) {

    }

    @Override
    public void beforeDelete(Object id) {

    }

    @Override
    public void afterDelete(Object id) {

    }

}